package com.bcn.login_mybatis_demo.result;

import java.util.List;

public class ListResult {
    private long total;
    private List<?> data;
    public ListResult(List<?> data, long total) {
        this.total = total;
        this.data = data;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }
}
